AbortCurrentTransaction
TheAbortCurrentTransaction
method removes the current transaction (and any nested transactions) from the action history.
void AbortCurrentTransaction ();DISCUSSION
This method aborts a transaction that is being placed in the undo stack by removing all single actions up to and including the last begin action. If there is a nested transaction in the current transaction, it is entirely removed. This method in turn calls your part'sUndoAction
method to give your part the opportunity to perform any reverse editing necessary to restore itself to the state it possessed before the transaction began.SEE ALSO
TheODPart::UndoAction
method (page 549)
"Clearing the Action History" on page 262 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help